package idiet.conf;

import java.io.FileNotFoundException;

import org.springframework.util.Log4jConfigurer;

public class Log4jConfigLoader {
	private String log4jConfigFilePath;
	
	public String getLog4jConfigFilePath() {
		return log4jConfigFilePath;
	}

	public void setLog4jConfigFilePath(String log4jConfigFilePath) throws FileNotFoundException {
		this.log4jConfigFilePath = log4jConfigFilePath;
		Log4jConfigurer.initLogging(log4jConfigFilePath);
	}

	public Log4jConfigLoader(){
	}
}
